
package regTests;
public class ClassTest {

    private int a;
	public boolean c;
    public ClassTest(){
		a = 10;
		c = true;
    }

    public int foo(){
		return a;
    }

    public static void main(String[] args){
		System.out.println("Starting ClassTest");
		ClassTest a = new ClassTest();
		int e = 10;
		int b = a.foo();
		
		if(a.c && b == e)
			System.out.print("Pass ");
		else
			System.out.print("!! Fail ");
		
		System.out.print("Expect ");
		System.out.print(e);
		System.out.print(" got ");
		System.out.println(b);
		System.out.println("");
    } 
}